# -*- coding: utf-8 -*-
class Plugin():
    def name(self):
	return "amarok"
    def check(self):
	try:
	    obj = dbus.SessionBus().get_object('org.kde.amarok','/Player');
	    if obj.PositionGet() > 0:
		return "Music playing"	    
	except:
	    pass
